Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

For me it works

hi Silke,
I copied your Script (and Functions) in to an Agent and it works:

'********************************
Sub Initialize
On Error GoTo ErrHandler

Dim ses As New NotesSession
Dim db As NotesDatabase
Dim Url As String
Dim Url2 As String
Dim Dateiname As String
Dim w As NotesUIWorkspace


Set ses = New NotesSession
Set db = ses.CurrentDatabase
Set w = New NotesUIWorkspace

Dim okSuccess As Variant
Url = "http://www.umweltdaten.de/publikationen/fpdf-l/2227.pdf"
Dateiname = "C:\Temp\_a_pdf_file_from_internet.pdf"
okSuccess = DownloadFile( Url, Dateiname )
Call DeleteUrlCacheEntry(Url)
Print "Try Download successfull(?): " & CStr(okSuccess)
If Not okSuccess Then
'...
End If

Exit Sub

ErrHandler:

Resume Next
End Sub
'********************************

Pre-Condition was using 'http://' in the URL.

May be your URL is wrong or is no ....pdf or needs to be encoded?

urlencode in Lotusscript:
http://dev.kanngard.net/Permalinks/ID_20040316145328.html

best regards
Heinrich Mueller



Feedback response number WEBB8N6G9M created by ~Maria Eltumimarikle on 10/31/2011

URLDownloadToFile() can't download ... (~Mary Reveluvit... 28.Oct.11)
. . Solution (~Mary Reveluvit... 24.Nov.11)
. . For me it works (~Maria Eltumima... 31.Oct.11)
. . . . Try it with my Hyperlinks (~Mary Reveluvit... 10.Nov.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS